wayland: Allow falling back to compatibility EGL contexts
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 7 Oct 2015 14:26:53 +0000 (15:26 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 7 Oct 2015 15:21:57 +0000 (16:21 +0100)
commitf10c0da36c27922bebb0f55aa876f215e4840c8e
treebdb63e150925770e05910bfc1ee51bb8a0d14bc5
parent59d02afec0918bfb56e50067ad0360b12c543848
wayland: Allow falling back to compatibility EGL contexts

If the shared context is in legacy mode, or if the creation of a core
profile context failed, we fall back to an EGL context in compatibility
mode.

Since we're relying on a fairly new EGL implementation for Wayland, we
don't fall back to the older EGL API, and instead we always require the
EGL_KHR_create_context extension.

https://bugzilla.gnome.org/show_bug.cgi?id=756142
gdk/wayland/gdkglcontext-wayland.c